package com.tsystems.tuni.sportplanet.businesslogic;

import java.util.List;

import com.tsystems.tuni.sportplanet.entity.Company;
import com.tsystems.tuni.sportplanet.entity.Location;
import com.tsystems.tuni.sportplanet.entity.Season;
import com.tsystems.tuni.sportplanet.entity.Sport;
import com.tsystems.tuni.sportplanet.entity.Team;

/**
 * @author Ippolitov Anton, Yuriy Eremin
 */
public interface SponsorStaticticBean {

	public List<Team> getAllTeam();

	public List<Sport> getAllSport();

	/**
	 * @param sport
	 *            - interest sport
	 * @return - all teams playing in it
	 */
	public List<Location> getAllLocationBySport(Sport sport);

	public List<Team> getTeamsFromCity(String city, Sport sport);

	/**
	 * @param team
	 *            - interest team
	 * @return sum score from last season
	 */
	public int getLastTeamScore(Team team);

	public List<Season> getPlayedSeason(Team team);

	public int getTeamScoreFromSeason(Team team, Season season);

	public Company getCompanyByTeam(Team team);

	public Location getCompanyLocation(Company company);

	public String getCompanyContact(String company);
}
